package cn.xydpeng.springframework.aop.framework;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2022/10/22
 * @description: AOP编织器（单个、手动处理目标类代理）
 */
public class ProxyFactory extends ProxyCreatorSupport {

    public ProxyFactory() {
    }


    /**
     * Create a new proxy according to the settings in this factory.
     * <p>Can be called repeatedly. Effect will vary if we've added
     * or removed interfaces. Can add and remove interceptors.
     * <p>Uses a default class loader: Usually, the thread context class loader
     * (if necessary for proxy creation).
     * @return the proxy object
     */
    public Object getProxy() {
        return createAopProxy().getProxy();
    }


}
